package com.woniuxy.cloud.userassembly.service.Impl;

import com.woniuxy.cloud.userassembly.entity.SysResource;
import com.woniuxy.cloud.userassembly.mapper.SysResourceMapper;
import com.woniuxy.cloud.userassembly.service.SysResourceService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 服务实现类
 * </p>
 *
 * @author 周川雄
 * @since 2022-01-26
 */
@Service
public class SysResourceServiceImpl extends ServiceImpl<SysResourceMapper, SysResource> implements SysResourceService {

    @Override
    public List<String> selectResourceByUserId(Integer id) {
        List<String> list = this.baseMapper.selectResourceByUserId(id);
        return list;
    }
}
